package com.captjack.rest.repository;

import com.captjack.rest.entity.SysDict;
import com.captjack.rest.repository.base.BaseRepository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.security.access.prepost.PreAuthorize;

/**
 * @author Capt Jack
 * @date 2018/5/21
 */
@RepositoryRestResource
@PreAuthorize("hasRole('ccadmin')")
public interface SysDictRepository extends JpaRepository<SysDict, Integer>, BaseRepository {

}
